package com.zl.design.prototype.model;

/**
 * @Author: zhang lei
 * @Describe: All things are difficult before they are easy.
 * @CreatTime: 2020-12-23-17-53
 */

import java.util.Map;

/**
 * 选择题
 */
public class ChoiceQuestion {
    private String name;//题目
    private String key;//答案
    private Map<String,String> option;//选项: A,B,C,D

    public ChoiceQuestion(String name,  Map<String, String> option,String key) {
        this.name = name;
        this.key = key;
        this.option = option;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Map<String, String> getOption() {
        return option;
    }

    public void setOption(Map<String, String> option) {
        this.option = option;
    }
}
